/**
 * @projectName study-note
 * @package Chain
 * @className Chain.Manager
 */
package Chain;

/**
 * Manager
 * @description 管理者抽象类
 * @author answer_wx
 * @date 2022/7/6 11:20
 * @version 1.0
 */
public abstract class AbstractManager {
    protected String name;
    protected AbstractManager superior;

    public AbstractManager(String name) {
        this.name = name;
    }

    public void setSuperior(AbstractManager superior) {
        this.superior = superior;
    }

    abstract public void requestAction(Request request);
}